WCPM\Classes\Helpers D

Total Complexity 165
Dependencies 12
Dependents 16
Total lines 855
Lines of code 445
Logical lines of code 260
Comment lines 277
Methods 54
Properties 1

Methods 54

Method Rating Maintainability Complexity Lines of code
get_user_data()
D
39 50 42
generic_sanitization()
S
54 7 23
format_decimal()
S
53 6 23
get_all_external_log_file_urls()
S
55 4 19
get_file_name_of_most_recent_wc_log()
S
57 4 17
is_orders_page()
S
69 5 5
is_woocommerce_session_active()
S
62 4 12
is_admin_page()
S
65 4 9
is_experiment()
S
77 4 3
get_script_string()
S
62 3 11
is_dashboard()
S
63 3 10
get_facebook_fbevents_js_url()
S
64 3 10
is_beta()
S
66 3 9
get_random_ip()
S
63 3 10
is_allowed_notification_page()
S
64 3 9
is_iframe()
S
68 3 7
pmw_as_has_scheduled_action()
S
59 2 14
is_wp_debug_mode_active()
S
79 2 3
get_external_url_to_most_recent_log()
S
68 2 7
is_pmw_debug_mode_active()
S
79 2 3
sanitize_string()
S
70 2 6
does_the_woocommerce_declare_compatibility_function_exist()
S
78 2 3
get_admin_url_link_to_recent_wc_log()
S
68 2 7
iubenda_script_exception_end()
S
69 2 9
get_url_to_log_dir()
S
66 2 8
hash_string()
S
70 2 6
get_action_scheduler_active_states()
S
70 2 6
get_user_country_code()
S
72 2 6
get_percentage()
S
77 2 3
get_e164_formatted_phone_number()
S
65 2 9
can_order_modal_be_shown()
S
79 2 3
iubenda_script_exception_start()
S
69 2 9
is_wc_hpos_enabled()
S
77 2 3
declare_woocommerce_compatibility()
S
69 2 6
is_valid_ipv6_address()
S
78 1 3
get_script_string_allowed_html()
S
74 1 5
get_input_vars()
S
74 1 4
get_version_info()
S
65 1 9
get_user_data_object()
S
75 1 4
is_edit_order_page()
S
79 1 3
is_email()
S
79 1 3
is_url()
S
79 1 3
clean_product_name_for_output()
S
78 1 3
trim_string()
S
66 1 8
datetime_string_to_unix_timestamp_in_local_timezone()
S
77 1 3
get_user_object_email()
S
66 1 8
should_all_s2s_requests_be_sent_blocking()
S
78 1 3
get_user_object_first_name()
S
66 1 8
get_user_object_last_name()
S
66 1 8
get_user_object_phone()
S
62 1 10
get_user_object_state()
S
65 1 8
get_user_object_postcode()
S
67 1 7
get_user_object_country()
S
68 1 7
get_user_object_city()
S
65 1 8